﻿
using System.ServiceModel;
using System.ServiceModel.Web;
using AdventureWorks.Domain;
using System.Collections.Generic;
namespace AdventureWorks.Services
{
    [ServiceContract]
    public interface IProductService
    {
        [WebGet(UriTemplate = "/product?category={category}&name={name}&productNumber={productNumber}", ResponseFormat=WebMessageFormat.Json)]
        IList<Product> GetProducts(string category, string name, string productNumber);

    }
}
